package com.ruoyi.lowcode.sqlgenerator;

import java.util.HashMap;
import java.util.Map;

public class GeneratorMain {

    private static final Map<String, GeneratorFactory> generatorMap = new HashMap<String, GeneratorFactory>(){
        {
            put("MYSQL", new MysqlGenerator());
        }
    };

    public static GeneratorFactory getGenerator(String type){
        return generatorMap.get(type);
    }

}
